import request from '@/utils/request'

//登录接口
export function login(data) {
	return request({
		url: '/admin/login',
		method: 'post',
		data
	})
}
//退出注销接口
export function logout(data) {
	return request({
		url: '/logout',
		method: 'get',
		data
	})
}

